from selenium import webdriver
import time
from selenium.webdriver.support.wait import WebDriverWait
wd=webdriver.Chrome()
wd.get("https://www.baidu.com")
time.sleep(3)
wd.find_element_by_id("kw").send_keys("python")
time.sleep(3)
wd.find_element_by_id("su").click()
time.sleep(3)vv
print(wd.page_source)  #获取页面html文本

